﻿namespace JamesZhao.Engine.Graphics.Visuals
{
    public class Light
    {
        public Light()
        {
            LightCamera = new Camera();
            LightCamera.Lens.FieldOfView = 3.14f/10f;
            LightCamera.Lens.AspectRatio = 1;
            LightCamera.Lens.Far = 100;

            Intensity = 1;
            Attenuation = Attenuation.Linear;
        }

        public Camera LightCamera { get; private set; }
        public float Intensity { get; set; }
        public Attenuation Attenuation { get; set; }

        public bool IsShadowed { get; set; }
    }
}